package config

type MysqlConfig struct {
	Host string `mapstructure:"host"`
	Port int    `mapstructure:"port"`
	User string `mapstructure:"user"`
	Pass string `mapstructure:"pass"`
	DB   string `mapstructure:"db"`
}
type Jwt struct {
	SigningKey string `mapstructure:"signingKey"`
}
type Oss struct {
	Url string `mapstructure:"url"`
}
type ServerConfig struct {
	Name      string      `mapstructure:"name"`
	MysqlInfo MysqlConfig `mapstructure:"mysql"`
	JwtInfo   Jwt         `mapstructure:"jwt"`
	Oss       Oss         `mapstructure:"oss"`
}
